﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Norm;
using Common;

namespace Model
{
    /// <summary>
    /// 城市信息
    /// </summary>
    public class City : Document
    {
        /// <summary>
        /// 城市名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 城市名称的拼音
        /// </summary>
        public string PinYin { get; set; }

        /// <summary>
        /// 邮政编码
        /// </summary>
        public string PostCode { get; set; }

        /// <summary>
        /// 所在省ID
        /// </summary>
        public ObjectId ProvinceId { get; set; }

        /// <summary>
        /// 区号
        /// </summary>
        public string AreaCode { get; set; }
    }
}
